<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/head.jsp"%>
<form class="form-horizontal" id="machine_form">
	<div class="row my-table id="machine_table">
		<input type="hidden" name="id" value="${machine.id }" />
		<table class="table table-condense table-bordered">
			<tbody>
				<tr>
					<td class="my-td-label"><label class="my-label">商家ID:</label></td>
					<td class="my-td-input">
						<div class="input-group my-input">
							<select class="form-control sycn-chosen my-chosen required" selectId="${machine.shopId }"  data-url="http://localhost:8080/shum/test/types" name="shopId"  data-placeholder="请选择..."></select>
						</div>
					</td>
					<td class="my-td-label"><label class="my-label">商家地址:</label></td>
					<td class="my-td-input">
						<div class="input-group my-input">
							<input type="text" maxlength="512" class="input-sm form-control required" name="address" value="${machine.address}" />
						</div>
					</td>
				</tr> 
				<tr>
					<td class="my-td-label"><label class="my-label">机器名称:</label></td>
					<td class="my-td-input">
						<div class="input-group my-input">
							<input type="text" maxlength="128" class="input-sm form-control required" name="name" value="${machine.name}" />
						</div>
					</td>
					<td class="my-td-label"><label class="my-label">开始时间:</label></td>
					<td class="my-td-input">
						<div class="input-group my-date">
							<input class="input-sm form-control date-picker my-date-picker" type="text" data-date-format="yyyy-mm-dd" " name="startMD" value="${machine.startMD}"/>
							<span class="input-group-addon">
								<i class="fa fa-calendar bigger-110"></i>
							</span>
						</div>
					</td>
				</tr> 
				<tr>
					<td class="my-td-label"><label class="my-label">结束时间:</label></td>
					<td class="my-td-input">
						<div class="input-group my-date">
							<input class="input-sm form-control date-picker my-date-picker" type="text" data-date-format="yyyy-mm-dd" " name="endMD" value="${machine.endMD}"/>
							<span class="input-group-addon">
								<i class="fa fa-calendar bigger-110"></i>
							</span>
						</div>
					</td>
					<td class="my-td-label">&nbsp;</td>
					<td class="my-td-input">&nbsp;</td>
				</tr> 
				<tr>
					<td class="my-td-label"><label class="my-label">备注:</label></td>
					<td class="my-td-input" colspan="3">
						<textarea class="col-xs-12 col-sm-9" name="remarks" maxlength="1024" rows="2">${machine.remarks}</textarea>
					</td>
				</tr> 

			</tbody>
		</table>
	</div>
</form>
